package com.wzx.admin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author wzx
 * @version 1.0
 * @date 2023/11/2 - 17:01
 * @description 标题
 */
@Data
@TableName("t_redpkg_control")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "RedPkgControl", description = "倍率表")
public class RedPkgControl implements Serializable {

    @TableId(value = "rid", type = IdType.AUTO)
    @ApiModelProperty(notes = "主键id", required = true)
    private Integer rid;

    @TableField("groupId")
    @ApiModelProperty(value = "群聊id")
    private Integer groupId;

    @TableField("groupName")
    @ApiModelProperty(value = "群聊名称")
    private String groupName;

    @TableField("userId")
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @TableField("username")
    @ApiModelProperty(value = "用户账号")
    private String username;

    @TableField("nickname")
    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @TableField("percentage")
    @ApiModelProperty(value = "倍率")
    private String percentage;

    @TableField("selectType")
    @ApiModelProperty(value = "选择类型（1：发包人；2：抢包人）")
    private String selectType;

    @TableField("gameplayType")
    @ApiModelProperty(value = "玩法分类（1：雷值玩法（默认）；2：避开最大；3：避开最小）")
    private String gameplayType;

    @TableField("robNum")
    @ApiModelProperty(value = "抢的次数")
    private Integer robNum;

}
